import java.util.ArrayList;
import java.util.HashMap;
import java.util.Vector;

import org.apache.log4j.Logger;

public class ThreadClass2 extends Thread{
	static Logger logger = Logger.getLogger("web.Main2");
    private String testThread;
    public static void main(String argv[]){
        String a=null;
        if (a!=null ^ a.length()>10) {
            
        }
    }
    ThreadClass2(){}
    ThreadClass2(String str){
        testThread = str;
    }
    public String getThreadName(){
        return testThread;
    }
    public void methodOne(){
        ThreadClass2 first = new ThreadClass2("first");
        first.start();
        ThreadClass2 second = new ThreadClass2("second");
        second.start();
    }
    public void start(){
        for(int i = 0; i < 2; i ++){
            System.out.println(getThreadName() +i);
            try{
                Thread.sleep(100);
            }catch(InterruptedException e){logger.error(e);}
        }
    }
}

